/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-11 16:25:42
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-22 13:20:14
 */

import 'package:flutter_data_center/conf/config.dart';

///代码清单
class HttpHelper {
  // --------------公共模块---------------//
  static String BASE_HOST = Config.BASE_HOST;
  //用户密码登录
  static String login = BASE_HOST + "/login";
  //检查更新
  static String appVersion = BASE_HOST + "/app/version";
  static String floors = BASE_HOST + "/floor";

  // -------------------------首页--------------------------
  //获取首页统计
  static String TPStatistics = BASE_HOST + "/todaypeoplestatistics";
  static String attendanceStatistics = BASE_HOST + "/todayattendancestatistics";
  static String taskStatistics = BASE_HOST + "/todaytaskstatistics";
  static String moduleList = BASE_HOST + "/modules";
  static String schoolMoment = BASE_HOST + "/statestatistics";

  // --------------智慧应用-----------------------
  static String moduleStatistics = BASE_HOST + "/modulestatistic";
  static String appList = BASE_HOST + "/apps";

  // --------------灯光模块---------------//
  static String lightStatistics = BASE_HOST + "/lightstatistics";
  static String lightList = BASE_HOST + "/lights";

  // --------------监控模块---------------//
  static String cameraStatistics = BASE_HOST + "/cameras";
  static String cameraList = BASE_HOST + "/camera";
  static String cameraDetail = BASE_HOST + "/cameradetail";
  // --------------门禁模块---------------//
  static String doorList = BASE_HOST + "/doorscontrollstatistics";
  static String doorStatistics = BASE_HOST + "/doorcontrollstatistics";
  static String doorPeopleList = BASE_HOST + "/doorpeoplelist";
  // --------------手环模块---------------//
  static String wristbandTotal = BASE_HOST + "/wristbandcounts";
  static String wristbandList = BASE_HOST + "/wristbandlist";
  static String wristbandDetail = BASE_HOST + "/wristband";

  // --------------广播模块---------------//
  static String broadcastPlaying = BASE_HOST + "/currentbroadcast";
  static String broadcastTasks = BASE_HOST + "/broadcasttasklist";
  static String broadcastFiles = BASE_HOST + "/broadcastfilelist";

  // --------------预警模块---------------//
  static String warningList = BASE_HOST + "/dangerlist";
  static String dealWarning = BASE_HOST + "/dealdanger";
  static String addWarning = BASE_HOST + "/adddanger";

  // --------------告警模块---------------//
  static String alertList = BASE_HOST + "/alarmslist";
  static String alertStatistics = BASE_HOST + "/alarmstatistics";

  // --------------教师考勤---------------//
  static String teachersAttendanceStatistics =
      BASE_HOST + "/teachersattendancestatics";
  static String teacherAttendanceStatistics =
      BASE_HOST + "/teacherattendancestatics";

  // --------------班级考勤---------------//
  static String classAttendanceStatistics =
      BASE_HOST + "/classattendancestatics";
  static String schoolStudentAttendanceStatistics =
      BASE_HOST + "/schoolstudentattendancestatics";
// --------------访客---------------//
  static String visitorList = BASE_HOST + "/visitors";
}
